#include<stdio.h>
#include<string.h>

int main()
{
    char a[]="cchaohaonanshou@nihaihuihuilaima.hahh(nihaihao";
    char p[]="@.(";
    for(char* r=strtok(a,p);r!=NULL;r=strtok(NULL,p))
    {
        printf("%s\n",r);
    }
}